package edu.xlh.travel.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 实体类
 *
 * @author Administrator
 */
@Entity
@Table(name = "t_orders")
@Data
@Accessors(chain = true)
public class Orders implements Serializable {

    @Id
    private String id;//id


    private String scenicId;//商品id
    private String userId;//用户id
    private Integer qty;//数量
    private BigDecimal payment;//总支付金额
    private String status;//状态
    private java.util.Date paytime;//支付时间
    private String phone;//电话
    private String userName;
    private String scenicName;
    private String remarks;
    private Date createTime;
    private Date modifyTime;
    private String delFlag;
}
